﻿<%@ Page Language="C#" MasterPageFile="~/Member/UserManage.master" EnableEventValidation="false"
    AutoEventWireup="true" ValidateRequest="false" CodeFile="CompanyShow.aspx.cs"
    Inherits="member_Corporation_CompanyShow" Title="公司信息" %>

<%@ Register Assembly="FredCK.FCKeditorV2" Namespace="FredCK.FCKeditorV2" TagPrefix="FCKeditorV2" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContInfo" runat="server">

    <script type="text/javascript" src="../../JS/calendar.js"></script>
    <script type="text/javascript" src="../../js/Industry.js"></script>
    <asp:HiddenField ID="txtProvince" runat="server"></asp:HiddenField>
    <asp:HiddenField ID="txtCity" runat="server"></asp:HiddenField>
    <asp:HiddenField ID="txtCounty" runat="server"></asp:HiddenField>
    <asp:HiddenField ID="txtSortB" runat="server"></asp:HiddenField>
    <asp:HiddenField ID="txtSortM" runat="server"></asp:HiddenField>
    <asp:HiddenField ID="txtSortS" runat="server"></asp:HiddenField>
    <asp:HiddenField ID="txtSortF" runat="server"></asp:HiddenField>
    <asp:HiddenField ID="txtSortW" runat="server"></asp:HiddenField>
   <div class="inkg mar_top">
        <strong class="inkgt">
            公司详细信息</strong>
        <div class="intip mar_top">
            <strong class="intipt">重要提醒：</strong>贵公司的资料上网后会受到其他客户及工商质检部门等多方关注，请如实填写！因此虚假信息产生的相关责任，将由贵公司自行承担！</div>
            <asp:Label ID="lblMessage" runat="server" Visible="false" ForeColor="red"></asp:Label>
                <table border="0" cellpadding="0" cellspacing="0" class="addtb">
            <thead>
                <tr>
                    <td colspan="2">
                        公司基本资料
                    </td>
                </tr>
            </thead>
            <tbody>
            <tr>
                <td width="16%" class="tblt">
                    <strong>公司名称：</strong><span class="red">*</span>
                </td>
                <td >
                    <span>
                        <asp:TextBox ID="txtCompanyName" runat="server" Width="200px" CssClass="i_text">
                        </asp:TextBox></span>
                    <div id="txt0">
                    </div>
                </td>
            </tr>
            <tr>
                <td class="tblt">
                    <strong>公司性质：</strong><span class="red">*</span>
                </td>
                <td >
                    <asp:RadioButtonList ID="radlCompanyNature" runat="server" BorderStyle="None" Font-Size="9pt"
                        RepeatDirection="Horizontal" RepeatLayout="Flow">
                        <asp:ListItem Selected="True"> 企业单位 </asp:ListItem>
                        <asp:ListItem> 个体经营 </asp:ListItem>
                        <asp:ListItem> 事业单位或社会团体 </asp:ListItem>
                        <asp:ListItem> 未经工商注册,个人 </asp:ListItem>
                    </asp:RadioButtonList></td>
            </tr>
            <tr>
                <td class="tblt">
                    <strong>经营模式：</strong><span class="red">*</span>
                </td>
                <td >
                    <asp:CheckBoxList ID="chklBusinessModel" runat="server" RepeatDirection="Horizontal"
                        RepeatLayout="Flow">
                        <asp:ListItem Value="0"> 生产型 </asp:ListItem>
                        <asp:ListItem Value="1"> 贸易型 </asp:ListItem>
                        <asp:ListItem Value="2"> 服务型 </asp:ListItem>
                        <asp:ListItem Value="3"> 政府或其他机构 </asp:ListItem>
                    </asp:CheckBoxList>&nbsp;<asp:Label ID="lblBusiness" runat="server" ForeColor="Red"></asp:Label></td>
            </tr>
            <tr>
                <td class="tblt">
                    <strong>注册资本：</strong><span class="red">*</span></td>
                <td >
                    <span>
                        <asp:TextBox ID="txtCapital" runat="server" Width="70px" CssClass="i_text">
                        </asp:TextBox>
                        万元</span><div id="txt1">
                        </div>
                </td>
            </tr>
            <tr>
                <td class="tblt">
                    <strong>成立时间：</strong><span class="red">*</span></td>
                <td >
                    <asp:TextBox ID="txtEstablished" onfocus="calendar()" runat="server" Width="70px"
                        CssClass="i_text">
                    </asp:TextBox></td>
            </tr>
            <tr>
                <td class="tblt">
                    <strong>注册地址：</strong><span class="red">*</span></td>
                <td >
                    <span>
                        <asp:TextBox ID="txtRegisterAddress" runat="server" Width="200px" CssClass="i_text">
                        </asp:TextBox></span><div id="txt2">
                        </div>
                </td>
            </tr>
            <tr>
                <td class="tblt">
                    <strong>公司所在地：</strong><span class="red">*</span></td>
                <td >
                    <select id="country" runat="server" name="country">
                        <option id="China" selected="selected" value="中国">中国</option>
                        <option id="ChinaXianggang" value="中国香港">中国香港</option>
                        <option id="ChinaAomen" value="中国澳门">中国澳门</option>
                        <option id="ChinaTaiwan" value="中国台湾">中国台湾</option>
                        <option id="Other" value="其它国家/地区">其它国家/地区</option>
                    </select>
                    <select id="province" runat="server" name="province">
                    </select>
                    <select id="city" runat="server" name="city">
                    </select>
                    <select id="county" runat="server" name="county">
                    </select>
                </td>
            </tr>
            <tr>
                <td class="tblt">
                    <strong>经营地址：</strong><span class="red">*</span>
                </td>
                <td >
                    <span>
                        <asp:TextBox ID="txtDealinAdd" runat="server" Width="200px" CssClass="i_text">
                        </asp:TextBox></span>
                    <div id="txt3">
                    </div>
                </td>
            </tr>
            <tr>
                <td class="tblt">
                    <strong>邮政编码：</strong></td>
                <td >
                    <span>
                        <asp:TextBox ID="txtPostalcode" runat="server" Width="70px" CssClass="i_text">
                        </asp:TextBox></span><div id="txt4">
                        </div>
                </td>
            </tr>
            <tr>
                <td class="tblt">
                    <strong>主营产品：</strong>
                </td>
                <td  style="height: 24px">
                    <span>
                        <asp:TextBox ID="txtProduct" runat="server" Width="200px" CssClass="i_text">
                        </asp:TextBox></span>
                    <div id="txt5">
                    </div>
                </td>
            </tr>
            <tr>
                <td class="tblt">
                    <strong>主营行业：</strong><span class="red">*</span>
                </td>
                <td >
                    <select id="SortB" name="SortB" runat="server" size="8" style="width: 132px">
                    </select>
                    <select id="SortM" name="SortM" runat="server" size="8" style="width: 132px">
                    </select>
                    <select id="SortS" name="SortS" runat="server" size="8" style="width: 132px">
                    </select>
                    <select id="SortF" name="SortF" runat="server" size="8" style="width: 132px">
                    </select>
                    <select id="SortW" name="SortW" runat="server" size="8" style="width: 132px">
                    </select>
                </td>
            </tr>
            <tr>
                <td class="tblt">
                    <strong>公司简介：</strong><span class="red">*</span>
                </td>
                <td  style="height: 24px">
                    <FCKeditorV2:FCKeditor ID="Summary" runat="server" BasePath="~/Control/fckeditor/"
                        ToolbarSet="Basic" Height="300px" Width="98%">
                    </FCKeditorV2:FCKeditor>
                    <div id="GSJJ" runat="server">
                    </div>
                </td>
            </tr>
            <tr>
                <td class="tblt">
                    <strong>街道地址：</strong>
                </td>
                <td >
                    <span>
                        <asp:TextBox ID="txtStreet" runat="server" Width="200px" CssClass="i_text">
                        </asp:TextBox></span><div id="txt6">
                        </div>
                </td>
            </tr>
            <tr>
                <td class="tblt">
                    <strong>公司网址：</strong>
                </td>
                <td >
                    <span>
                        <asp:TextBox ID="txtURL" runat="server" Width="200px" CssClass="i_text">
                        </asp:TextBox></span>
                    <div id="txt7" runat="server">
                    </div>
                </td>
            </tr>
            <tr>
                <td class="tblt">
                    <strong>法人代表：</strong>
                </td>
                <td >
                    <span>
                        <asp:TextBox ID="txtCorporate" runat="server" Width="100px" CssClass="i_text">
                        </asp:TextBox></span>
                    <div id="txt8">
                    </div>
                </td>
            </tr>
            <tr>
                <td class="tblt">
                    <strong>公司LOGO：</strong>
                </td>
                <td  style="height: 90px">
                    <asp:HiddenField ID="ImgUrl1" runat="server" />
                    <a href="" id="txturldz" target="_blank">
                        <img border="0" src="../../Images/System/wutu.gif" id="ImgUrl" alt="" runat="server"
                            style="width: 106px; height: 95px" /></a><br />
                    <input id="txtupload" type="button" value="上传" onclick="return rowTest()" /><br />
                    <div id="rowTest" style="display: none">
                        <iframe name="tag" src="../Tool/Upload.html?LOGO" style="width: 550px; height: 120px"
                            frameborder="0" scrolling="no" onload="this.height=tag.document.body.scrollHeight">
                        </iframe>
                    </div>
                </td>
            </tr>
            <tr>
                <td colspan="2" align="center" style="height: 45px; border-bottom: 1px #CCCCCC solid;">
                    <asp:Button ID="btnServer" runat="server" OnClick="btnServer_Click" Text="保存" CssClass="i_button" />
                </td>
            </tr>
            </tbody>
        </table>
        <asp:Label ID="Label1" runat="server" Text="Label" Visible="False"></asp:Label>
    </div>

    <script src="../../js/area.js" type="text/javascript"></script>

    <script language="javascript" type="text/javascript">
       initializeArea(1)
    </script>

    <script language="javascript" src="../../js/Industry.js" type="text/javascript"></script>

    <script language="javascript" type="text/javascript">
       initialize(1)
    </script>

    <script type="text/jscript" src="../../js/Common.js"></script>

    <script type="text/jscript" src="../js/CompanyShow.js"></script>

    <script type="text/jscript">
function hiddenErea(){
   if (document.all.ctl00_ContInfo_country.options[document.all.ctl00_ContInfo_country.selectedIndex].value != "中国") {
      document.all.ctl00_ContInfo_province.style.display = 'none';
      document.all.ctl00_ContInfo_city.style.display = 'none';
      document.all.ctl00_ContInfo_county.style.display = 'none';
   } else {
      document.all.ctl00_ContInfo_province.style.display = '';
      document.all.ctl00_ContInfo_city.style.display = '';
      document.all.ctl00_ContInfo_county.style.display = '';
   }
}
hiddenErea()
    </script>

</asp:Content>
